export default class {
  constructor(fetcher) {
    this.fetcher = fetcher;
    this.base = '/m-mall-center';
  }

  /**
   * 获取省市区地址
   * @method
   * @name ListAreaV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {string} parameters.cityCode - cityCode
   * @param {string} parameters.provinceCode - provinceCode
   */
  async ListAreaV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/area/list';
    let body = {};
    let queryParameters = {};

    if (parameters['cityCode'] !== undefined) {
      queryParameters['cityCode'] = parameters['cityCode'];
    }

    if (parameters['provinceCode'] !== undefined) {
      queryParameters['provinceCode'] = parameters['provinceCode'];
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 寄售补仓单取消
   * @method
   * @name CFOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {string} parameters.orderId - orderId
   */
  async CFOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/cFOrder';
    let body = {};
    let queryParameters = {};

    if (parameters['orderId'] !== undefined) {
      queryParameters['orderId'] = parameters['orderId'];
    }

    if (parameters['orderId'] === undefined) {
      throw new Error('Missing required  parameter: orderId');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 寄售补仓单编辑/暂存
   * @method
   * @name CFOrderV1ApiPUT
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.form - form
   */
  async CFOrderV1ApiPUT(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/cFOrder';
    let body = {};
    let queryParameters = {};

    if (parameters['form'] !== undefined) {
      body = parameters['form'];
    }

    if (parameters['form'] === undefined) {
      throw new Error('Missing required  parameter: form');
    }

    let result = await this.fetcher({
      method: 'PUT',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 提交订单到OMS
   * @method
   * @name NewOrderOmsCFOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.consignFillupOrderForm - consignFillupOrderForm
   */
  async NewOrderOmsCFOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/cFOrder/newOrderOms';
    let body = {};
    let queryParameters = {};

    if (parameters['consignFillupOrderForm'] !== undefined) {
      body = parameters['consignFillupOrderForm'];
    }

    if (parameters['consignFillupOrderForm'] === undefined) {
      throw new Error('Missing required  parameter: consignFillupOrderForm');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 寄售补仓单列表查询
   * @method
   * @name OnsignFillupOrderDetailListCFOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OnsignFillupOrderDetailListCFOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/cFOrder/onsignFillupOrderDetailList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 长期寄售消耗单列表查询
   * @method
   * @name OrderConsignmenDetailListConsignmentProductCcOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderConsignmenDetailListConsignmentProductCcOrderV1ApiPOST(
    parameters
  ) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/consignmentProduct/orderConsignmenDetailList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 消耗产品查询接口
   * @method
   * @name PageListConsignmentProductCcOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageListConsignmentProductCcOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/consignmentProduct/pageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单详情消耗产品分页列表
   * @method
   * @name PageProductDetailListConsignmentProductCcOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageProductDetailListConsignmentProductCcOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/consignmentProduct/pageProductDetailList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 序列号信息
   * @method
   * @name SerialNumberOrderListConsignmentProductCcOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async SerialNumberOrderListConsignmentProductCcOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/consignmentProduct/serialNumberOrderList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * dd
   * @method
   * @name DdCcOrderV1ApiGET
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   */
  async DdCcOrderV1ApiGET(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/dd';
    let body = {};
    let queryParameters = {};

    let result = await this.fetcher({
      method: 'GET',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 提交订单到OMS
   * @method
   * @name NewOrderOmsCcOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.ccOrderOmsForm - ccOrderOmsForm
   */
  async NewOrderOmsCcOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/newOrderOms';
    let body = {};
    let queryParameters = {};

    if (parameters['ccOrderOmsForm'] !== undefined) {
      body = parameters['ccOrderOmsForm'];
    }

    if (parameters['ccOrderOmsForm'] === undefined) {
      throw new Error('Missing required  parameter: ccOrderOmsForm');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 暂存
   * @method
   * @name TempStorageCcOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.ccOrderForm - ccOrderForm
   */
  async TempStorageCcOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/tempStorage';
    let body = {};
    let queryParameters = {};

    if (parameters['ccOrderForm'] !== undefined) {
      body = parameters['ccOrderForm'];
    }

    if (parameters['ccOrderForm'] === undefined) {
      throw new Error('Missing required  parameter: ccOrderForm');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * vendorContractList
   * @method
   * @name VendorContractListCcOrderV1ApiGET
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {string} parameters.vendorCode - vendorCode
   */
  async VendorContractListCcOrderV1ApiGET(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/vendorContractList';
    let body = {};
    let queryParameters = {};

    if (parameters['vendorCode'] !== undefined) {
      queryParameters['vendorCode'] = parameters['vendorCode'];
    }

    if (parameters['vendorCode'] === undefined) {
      throw new Error('Missing required  parameter: vendorCode');
    }

    let result = await this.fetcher({
      method: 'GET',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * vendorList
   * @method
   * @name VendorListCcOrderV1ApiGET
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   */
  async VendorListCcOrderV1ApiGET(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/ccOrder/vendorList';
    let body = {};
    let queryParameters = {};

    let result = await this.fetcher({
      method: 'GET',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 未成功导入数据下载
   * @method
   * @name DownloadFailUploadDataFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {string} parameters.templateId - templateId
   */
  async DownloadFailUploadDataFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/downloadFailUploadData';
    let body = {};
    let queryParameters = {};

    if (parameters['templateId'] !== undefined) {
      queryParameters['templateId'] = parameters['templateId'];
    }

    if (parameters['templateId'] === undefined) {
      throw new Error('Missing required  parameter: templateId');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 手术类型上传excel
   * @method
   * @name ReadExcelOperationFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {file} parameters.file - file
   */
  async ReadExcelOperationFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/readExcelOperation';
    let body = {};
    let queryParameters = {};

    if (parameters['file'] !== undefined) {
      form['file'] = parameters['file'];
    }

    if (parameters['file'] === undefined) {
      throw new Error('Missing required  parameter: file');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单模板-手术类型上传excel
   * @method
   * @name ReadExcelTemplateOperationFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {file} parameters.file - file
   */
  async ReadExcelTemplateOperationFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/readExcelTemplateOperation';
    let body = {};
    let queryParameters = {};

    if (parameters['file'] !== undefined) {
      form['file'] = parameters['file'];
    }

    if (parameters['file'] === undefined) {
      throw new Error('Missing required  parameter: file');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单模板-产品明细上传excel
   * @method
   * @name ReadExcelTemplateProductFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {file} parameters.file - file
   */
  async ReadExcelTemplateProductFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/readExcelTemplateProduct';
    let body = {};
    let queryParameters = {};

    if (parameters['file'] !== undefined) {
      form['file'] = parameters['file'];
    }

    if (parameters['file'] === undefined) {
      throw new Error('Missing required  parameter: file');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 手术医院-分仓数据上传excel
   * @method
   * @name ReadExcelWareHospFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {file} parameters.file - file
   */
  async ReadExcelWareHospFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/readExcelWareHosp';
    let body = {};
    let queryParameters = {};

    if (parameters['file'] !== undefined) {
      form['file'] = parameters['file'];
    }

    if (parameters['file'] === undefined) {
      throw new Error('Missing required  parameter: file');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 产品模板上传excel
   * @method
   * @name ReadFileFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {file} parameters.file - file
   * @param {string} parameters.productLineCode - productLineCode
   * @param {string} parameters.vendorNum - vendorNum
   */
  async ReadFileFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/readFile';
    let body = {};
    let queryParameters = {};

    if (parameters['file'] !== undefined) {
      form['file'] = parameters['file'];
    }

    if (parameters['file'] === undefined) {
      throw new Error('Missing required  parameter: file');
    }

    if (parameters['productLineCode'] !== undefined) {
      queryParameters['productLineCode'] = parameters['productLineCode'];
    }

    if (parameters['productLineCode'] === undefined) {
      throw new Error('Missing required  parameter: productLineCode');
    }

    if (parameters['vendorNum'] !== undefined) {
      queryParameters['vendorNum'] = parameters['vendorNum'];
    }

    if (parameters['vendorNum'] === undefined) {
      throw new Error('Missing required  parameter: vendorNum');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 手术类型上传excel
   * @method
   * @name TestOrderCodeFileV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   */
  async TestOrderCodeFileV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/file/testOrderCode';
    let body = {};
    let queryParameters = {};

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据手术医院编码回填分仓信息
   * @method
   * @name OperationHouseByHoseCodeOperationV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.operationHouseByHouseCodeQuery - operationHouseByHouseCodeQuery
   */
  async OperationHouseByHoseCodeOperationV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/operation/operationHouseByHoseCode';
    let body = {};
    let queryParameters = {};

    if (parameters['operationHouseByHouseCodeQuery'] !== undefined) {
      body = parameters['operationHouseByHouseCodeQuery'];
    }

    if (parameters['operationHouseByHouseCodeQuery'] === undefined) {
      throw new Error(
        'Missing required  parameter: operationHouseByHouseCodeQuery'
      );
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据产品线编码获得手术类型下拉
   * @method
   * @name OperationTypeByProductLineCodeOperationV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.operationTypeQuery - operationTypeQuery
   */
  async OperationTypeByProductLineCodeOperationV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/operation/operationTypeByProductLineCode';
    let body = {};
    let queryParameters = {};

    if (parameters['operationTypeQuery'] !== undefined) {
      body = parameters['operationTypeQuery'];
    }

    if (parameters['operationTypeQuery'] === undefined) {
      throw new Error('Missing required  parameter: operationTypeQuery');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单中暂存校验存储
   * @method
   * @name TSOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.ts - ts
   */
  async TSOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/TS';
    let body = {};
    let queryParameters = {};

    if (parameters['ts'] !== undefined) {
      body = parameters['ts'];
    }

    if (parameters['ts'] === undefined) {
      throw new Error('Missing required  parameter: ts');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 单个/批量添加导入进度
   * @method
   * @name AddImportProgressOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.form - form
   */
  async AddImportProgressOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/addImportProgress';
    let body = {};
    let queryParameters = {};

    if (parameters['form'] !== undefined) {
      body = parameters['form'];
    }

    if (parameters['form'] === undefined) {
      throw new Error('Missing required  parameter: form');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据产品线编码与业务模式查询附加信息
   * @method
   * @name AppendRelateOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.form - form
   */
  async AppendRelateOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/appendRelate';
    let body = {};
    let queryParameters = {};

    if (parameters['form'] !== undefined) {
      body = parameters['form'];
    }

    if (parameters['form'] === undefined) {
      throw new Error('Missing required  parameter: form');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单校验失败错误信息分页列表
   * @method
   * @name PageListCheckFailMessageOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageListCheckFailMessageOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/checkFailMessage/pageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单id获取手术工具已选择列表查询
   * @method
   * @name ChosenOrderOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async ChosenOrderOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/chosenOrder';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 获取公共枚举值信息
   * @method
   * @name CommonEnumOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async CommonEnumOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/commonEnum';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 确认订单
   * @method
   * @name ConfirmStockBatchOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.form - form
   */
  async ConfirmStockBatchOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/confirmStockBatch';
    let body = {};
    let queryParameters = {};

    if (parameters['form'] !== undefined) {
      body = parameters['form'];
    }

    if (parameters['form'] === undefined) {
      throw new Error('Missing required  parameter: form');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据供应商查询合同列表
   * @method
   * @name ContractOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async ContractOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/contract';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 单个/批量删除
   * @method
   * @name DeleteOrderOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.orderIds - orderIds
   */
  async DeleteOrderOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/deleteOrder';
    let body = {};
    let queryParameters = {};

    if (parameters['orderIds'] !== undefined) {
      body = parameters['orderIds'];
    }

    if (parameters['orderIds'] === undefined) {
      throw new Error('Missing required  parameter: orderIds');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据导入进度表id删除导入进度
   * @method
   * @name DeleteProgressOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async DeleteProgressOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/deleteProgress';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 获取客户编号
   * @method
   * @name GetCustomCodeOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   */
  async GetCustomCodeOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getCustomCode';
    let body = {};
    let queryParameters = {};

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 查询产品详情接口
   * @method
   * @name GetIcMdmItemForEcListOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetIcMdmItemForEcListOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getIcMdmItemForEcList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 查询导入状态接口
   * @method
   * @name GetImportProgressOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetImportProgressOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getImportProgress';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 查询导入状态列表接口
   * @method
   * @name GetImportProgressListOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetImportProgressListOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getImportProgressList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 查询导入状态分页列表接口
   * @method
   * @name GetImportProgressPageListOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetImportProgressPageListOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getImportProgressPageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 获取产品参考价格接口
   * @method
   * @name GetProductReferencePriceOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetProductReferencePriceOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getProductReferencePrice';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 返回暂存提交数据
   * @method
   * @name GetTSOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.getTsOrderQuery - getTsOrderQuery
   */
  async GetTSOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getTS';
    let body = {};
    let queryParameters = {};

    if (parameters['getTsOrderQuery'] !== undefined) {
      body = parameters['getTsOrderQuery'];
    }

    if (parameters['getTsOrderQuery'] === undefined) {
      throw new Error('Missing required  parameter: getTsOrderQuery');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 手术工具待选择列表数据查询接口
   * @method
   * @name NotChosenOrderOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async NotChosenOrderOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/notChosenOrder';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 产品线下拉模糊查询接口
   * @method
   * @name GetProductLineNameListV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetProductLineNameListV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getProductLineNameList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }
  /**
   * 根据订单id查询附加信息字段
   * @method
   * @name OrderAppendOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderAppendOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderAppend';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单id查询订单供应商及合同列表
   * @method
   * @name OrderContractOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderContractOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderContract';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单id查询订单详情
   * @method
   * @name OrderDetailOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderDetailOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderDetail';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据多条件查询订单列表
   * @method
   * @name OrderDetailListOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderDetailListOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderDetailList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }
  /**
   * 根据多条件查询订单列表
   * @method
   * @name payBillManageListOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async payBillManageListOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    var url = '/api/v1/payBillManage/pageList';
    var body = {},
      queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单详情采购产品分页列表
   * @method
   * @name PageListOrderDetailProductOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageListOrderDetailProductOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderDetailProduct/pageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单id查询手术信息
   * @method
   * @name OrderOperationOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderOperationOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderOperation';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单id查询采购产品分页列表
   * @method
   * @name PageListOrderProductOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageListOrderProductOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderProduct/pageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单id查询订单收货人信息
   * @method
   * @name OrderReceiverOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderReceiverOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderReceiver';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 提交订单
   * @method
   * @name OrderSubmitOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.submitOrderQuery - submitOrderQuery
   */
  async OrderSubmitOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderSubmit';
    let body = {};
    let queryParameters = {};

    if (parameters['submitOrderQuery'] !== undefined) {
      body = parameters['submitOrderQuery'];
    }

    if (parameters['submitOrderQuery'] === undefined) {
      throw new Error('Missing required  parameter: submitOrderQuery');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据手术类型id获取订单模板列表查询
   * @method
   * @name OrderTemplateOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderTemplateOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderTemplate';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 根据订单模板查询产品列表查询
   * @method
   * @name OrderTemplateProductOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async OrderTemplateProductOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/orderTemplateProduct';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 添加采购产品分页列表
   * @method
   * @name PageListPurchaseProductOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageListPurchaseProductOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/purchaseProduct/pageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 订单库存配位分页列表
   * @method
   * @name PageListStockBatchOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async PageListStockBatchOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/stockBatch/pageList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 查询供应商列表
   * @method
   * @name SupplierOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async SupplierOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/supplier';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 更新导入进度
   * @method
   * @name UpdateImportProgressOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.form - form
   */
  async UpdateImportProgressOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/updateImportProgress';
    let body = {};
    let queryParameters = {};

    if (parameters['form'] !== undefined) {
      body = parameters['form'];
    }

    if (parameters['form'] === undefined) {
      throw new Error('Missing required  parameter: form');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 通过用户id查询收货地址
   * @method
   * @name GetOrderAddressListOrderAddressV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   */
  async GetOrderAddressListOrderAddressV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/orderAddress/getOrderAddressList';
    let body = {};
    let queryParameters = {};

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 添加收货地址
   * @method
   * @name SaveOrderAddressOrderAddressV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.newMallAddressReqDto - newMallAddressReqDto
   */
  async SaveOrderAddressOrderAddressV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/orderAddress/saveOrderAddress';
    let body = {};
    let queryParameters = {};

    if (parameters['newMallAddressReqDto'] !== undefined) {
      body = parameters['newMallAddressReqDto'];
    }

    if (parameters['newMallAddressReqDto'] === undefined) {
      throw new Error('Missing required  parameter: newMallAddressReqDto');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 收货产品详情接口
   * @method
   * @name GetOrderDeliverDetailListOrderGoodsNoticeV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetOrderDeliverDetailListOrderGoodsNoticeV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/orderGoodsNotice/getOrderDeliverDetailList';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required  parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 收货信息查询接口
   * @method
   * @name GetOrderDeliverListOrderGoodsNoticeV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   */
  async GetOrderDeliverListOrderGoodsNoticeV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/orderGoodsNotice/getOrderDeliverList';
    let body = {};
    let queryParameters = {};

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }

  /**
   * 查询附加信息字段
   * @method
   * @name GetAppendInfoOrderV1ApiPOST
   * @param {object} parameters - method options and parameters
   * @param {string} parameters.authorization - Authorization验证
   * @param {} parameters.query - query
   */
  async GetAppendInfoOrderV1ApiPOST(parameters) {
    if (parameters === undefined) {
      parameters = {};
    }
    let url = '/api/v1/order/getAppendInfo';
    let body = {};
    let queryParameters = {};

    if (parameters['query'] !== undefined) {
      body = parameters['query'];
    }

    if (parameters['query'] === undefined) {
      throw new Error('Missing required parameter: query');
    }

    let result = await this.fetcher({
      method: 'POST',
      baseURL: this.base,
      url,
      data: body,
      params: queryParameters,
    });

    return result.data.payload;
  }
}
